import request from './http'
//商品详细数据
// https://wx.nanyibang.com/mall/api/item/sku?id=65591
// https://api.nanyibang.com/mall/api/item/categories?page=1
export function getbranch(params){
    return request({
        url:"mall/api/item/categories",
        method:"get",
        params
    })
}

// https://api.nanyibang.com/mall/api/item/list?page=1&type=3
export function getbranchlist(params){
    return request({
        url:"mall/api/item/list",
        method:"get",
        params
    })
}